package br.com.bancodecurriculos.pessoa.comum.dao;

import java.io.IOException;
import java.sql.SQLException;
import java.util.List;

import br.com.bancodecurriculos.pessoa.comum.dominio.Endereco;
import br.com.bancodecurriculos.pessoa.comum.dominio.Endereco.TipoEndereco;
import br.com.bancodecurriculos.util.dao.IGenericDAO;
import br.com.bancodecurriculos.util.exception.RegistroExistenteException;

public interface IEnderecoDAOHelper extends IGenericDAO<Long, Endereco> {

	public long saveReturningId(Endereco t) throws ClassNotFoundException,
			SQLException, RegistroExistenteException, IOException;

	public List<TipoEndereco> getAllTipoEndereco()
			throws ClassNotFoundException, SQLException, IOException;

	public TipoEndereco getTipoEnderecoByNome(String nome)
			throws ClassNotFoundException, SQLException, IOException;

}
